package com.fire.communication.model.notice;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fire.communication.common.base.BasisEntity;

import java.util.Date;

/**
 * @Author: YangYu
 * @ClassName: NoticeRecord
 * @Date: Created in 16:15 2022/7/14
 * @Description: 通知记录
 */
@TableName("firelink_inspection_worknotice_record")
public class NoticeRecord extends BasisEntity {

    /**
     * 主键
     */
    public String id;
    /**
     * 组id
     */
    public String groupId;
    /**
     * 联系人
     */
    public String contacts;
    /**
     * 联系电话
     */
    public String phone;
    /**
     * 状态
     */
    public Integer state;
    /**
     * 时间
     */
    public Date time;
    /**
     * 通知方式：1短信 2语音
     */
    public Integer type;
    /**
     * 联系人ID
     */
    public String contactsId;

    public String getContactsId() {
        return this.getString("contactsId");
    }

    public void setContactsId(String contactsId) {
        this.put("contactsId",contactsId);
    }

    public Integer getType() {
        return this.getInteger("type");
    }

    public void setType(Integer type) {
        this.put("type",type);
    }

    public String getId() {
        return this.getString("id");
    }

    public void setId(String id) {
        this.put("id",id);
    }

    public String getGroupId() {
        return this.getString("groupId");
    }

    public void setGroupId(String groupId) {
        this.put("groupId",groupId);
    }

    public String getContacts() {
        return this.getString("contacts");
    }

    public void setContacts(String contacts) {
        this.put("contacts",contacts);
    }

    public String getPhone() {
        return this.getString("phone");
    }

    public void setPhone(String phone) {
        this.put("phone",phone);
    }

    public Integer getState() {
        return this.getInteger("state");
    }

    public void setState(Integer state) {
        this.put("state",state);
    }

    public Date getTime() {
        return this.getDate("time");
    }

    public void setTime(Date time) {
        this.put("time",time);
    }
}
